﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TomNet.IMSC.Model.Infrastructure;

namespace TomNet.IMSC.Model.DbModels.QandA
{
    /// <summary>
    /// 动态管理
    /// </summary>
    public class DynamicModel : GeneralBase<int>
    {
        /// <summary>
        /// 省份ID
        /// </summary>
        public int ProvinceID { get; set; }
        /// <summary>
        /// 城市ID
        /// </summary>
        public int CityID { get; set; }
        ///// <summary>
        ///// 地区ID
        ///// </summary>
        //public int DistrictID { get; set; }
        /// <summary>
        /// 标题
        /// </summary>
        [StringLength(500)]
        public string Title { get; set; }
        /// <summary>
        /// 主题
        /// </summary>
        public string Subject { get; set; }
        /// <summary>
        /// 发布时间
        /// </summary>
        public DateTime ReleaseTime { get; set; }
        /// <summary>
        /// 置顶
        /// </summary>
        public int Top { get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int ShowIndex { get; set; }
    }
}
